Vue.extend = function(extendOptions){
    const Super = this;
    const Sub = function VueComponent(options) {
        this._init(options)
    }

    Sub.prototype = Object.create(Super.prototype);
    Sub.prototype.constructor = Sub;
    Sub['super'] = Super;
    Sub.extend = Super.extend
    return Sub
}   